package com.xhu.rjsx2.pojo.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author xhu-zfx
 * @email <756867768@qq.com>
 * @date 2023/5/12 23:52
 * @description TODO(描述该类的作用)
 */
@AllArgsConstructor
@Data
@NoArgsConstructor
public class LayuiPageResult {
    public static final Integer CODE_SUCCESS = 0;

    public static final String MESSAGE_SUCCESS = "操作成功";


    private Integer code;
    private String msg;
    private List data;
    private Long count;

    public LayuiPageResult(String msg, List data, Long count) {
        this.msg = msg;
        this.data = data;
        this.count = count;
    }
}
